//引入封装的公共的请求插件
import {POST,UPLOAD } from "@/services/request"

export default{
  login(data={}){
    return POST({
      url:'business/login',
      params:data
    })
  },
  register(data={}){
    return POST({
      url:'business/register',
      params:data
    })
  },
  check(data={}){
    return POST({
      url:'business/check',
      params:data
    })
  },
  profile(data={}){
    return UPLOAD({
      url:'business/profile',
      params:data
    })
  },
  send(data={}){
    return POST({
      url:'business/send',
      params:data
    })
  },
  email(data={}){
    return POST({
      url:'business/email',
      params:data
    })
  },
  mycoupon(data={}){
    return POST({
      url:'business/mycoupon',
      params:data
    })
  },
  recharge(data={}){
    return POST({
      url:'business/recharge',
      params:data
    })
  },
  product(){
    return POST({
      url:'business/product'
    })
  },
  BusNums(data={}){
    return POST({
      url:'business/nums',
      params:data
    })
  },
  BusRecord(data={}){
    return POST({
      url:'business/record',
      params:data
    })
  },
  RechargeRecord(data={}){
    return POST({
      url:'business/chargerecord',
      params:data
    })
  },
}